summaryrefslogtreecommitdiff
path: root/include/linux/elf.h
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2013-11-01 11:16:58 +0100
committerDavid S. Miller <davem@davemloft.net>2013-11-02 02:02:04 -0400
commit47175e5f283f8c78ff325edde0aec2018ce607e5 (patch)
tree39565463b6f55584e12e4f62e9d2adb25a36530d /include/linux/elf.h
parent6dd13e83ce37f716e36085cb8b58779da1e98f6d (diff)
net: cdc_ncm: refactoring cdc_ncm_setup
Rewriting the "set max datagram" part of dc_ncm_setup to separate the selection and validatation of the size from the code which optionally informs the device of this value. This ensures that we use the correct value regardless of device support for the get and set commands. Removing some of the many indent levels while doing this to make the code more readable. Cc: Alexey Orishko <alexey.orishko@gmail.com> Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/elf.h')
0 files changed, 0 insertions, 0 deletions