diff options
author | Johannes Berg | 2018-01-31 23:07:06 +0100 |
---|---|---|
committer | Johannes Berg | 2018-02-19 13:16:37 +0100 |
commit | 7a9b3ec1e19f691f6e69429d851a4084b86e6219 (patch) | |
tree | 87ab9bd5579839647cc758cfc4118ba32513a82f /include/rdma/rdmavt_mr.h | |
parent | mac80211: Add support to notify ht/vht opmode modification. (diff) | |
download | kernel-qcow2-linux-7a9b3ec1e19f691f6e69429d851a4084b86e6219.tar.gz kernel-qcow2-linux-7a9b3ec1e19f691f6e69429d851a4084b86e6219.tar.xz kernel-qcow2-linux-7a9b3ec1e19f691f6e69429d851a4084b86e6219.zip |
nl80211: remove unnecessary genlmsg_cancel() calls
If we free the message immediately, there's no reason to
trim it back to the previous size.
Done with spatch:
@@
identifier msg, hdr;
@@
-if (hdr)
- genlmsg_cancel(msg, hdr);
... when != msg;
nlmsg_free(msg);
@@
identifier msg, hdr;
@@
-genlmsg_cancel(msg, hdr);
... when != msg;
nlmsg_free(msg);
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/rdma/rdmavt_mr.h')
0 files changed, 0 insertions, 0 deletions