diff options
| author | Ivan Safonov <insafonov@gmail.com> | 2019-03-20 15:45:19 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-21 08:25:00 +0100 |
| commit | b17b6823419aa698aff5650b6cabc6ab03d76729 (patch) | |
| tree | 620cf76cadf0ffe9cd75d0ecb2914c19dd292191 /tools/perf/scripts/python | |
| parent | 40a3483b194ea793e3909b0256f536b430b14532 (diff) | |
| download | linux-b17b6823419aa698aff5650b6cabc6ab03d76729.tar.gz linux-b17b6823419aa698aff5650b6cabc6ab03d76729.zip | |
staging: netlogic: replace skb_put/pull pair with skb_reserve
The sequence
skb_put(skb);
skb_pull(skb);
leads to the same result as
skb_reserve(skb);
but second is a little shorter and clearer.
Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
