diff options
| author | Markus Elfring <[email protected]> | 2015-11-15 09:00:42 +0100 |
|---|---|---|
| committer | Antonio Quartulli <[email protected]> | 2016-01-09 20:56:00 +0800 |
| commit | 8bbb7cb2324d6a5fb7ccdc4ab0099dc18b91b690 (patch) | |
| tree | b2b2a765d58740bd228057a541d0b35ec3fa1b6e /tools/perf/scripts/python | |
| parent | c799443ee13ef37221732839f1cca6f11c798b7a (diff) | |
batman-adv: Less checks in batadv_tvlv_unicast_send()
* Let us return directly if a call of the batadv_orig_hash_find() function
returned a null pointer.
* Omit the initialisation for the variable "skb" at the beginning.
* Replace an assignment by a call of the kfree_skb() function
and delete the affected variable "ret" then.
Signed-off-by: Markus Elfring <[email protected]>
Signed-off-by: Marek Lindner <[email protected]>
Signed-off-by: Antonio Quartulli <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions