diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2010-02-10 15:26:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-12 19:51:10 -0500 |
commit | 81d54ec8479a2c695760da81f05b5a9fb2dbe40a (patch) | |
tree | 4a7da65da1b418e1e18291ddae807fad83dca1f0 /include/linux/spinlock.h | |
parent | 55d955902a7f78e3e7c9ddbc71a4a050d9d44810 (diff) |
udp: remove redundant variable
The variable 'copied' is used in udp_recvmsg() to emphasize that the passed
'len' is adjusted to fit the actual datagram length. But the same can be
done by adjusting 'len' directly. This patch thus removes the indirection.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/spinlock.h')
0 files changed, 0 insertions, 0 deletions