diff options
author | Paul Durrant <Paul.Durrant@citrix.com> | 2014-03-28 11:39:05 (GMT) |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-04-18 09:07:15 (GMT) |
commit | 63273418e7e48018bfb432f13caca9eeaee00679 (patch) | |
tree | 9b3cd21c7d423ce3c698e815b185f46b2fac1db0 /net/ipv4/ipip.c | |
parent | a2a366ebac39dbb437b893b8705d4b6ce04e062e (diff) | |
download | linux-fsl-qoriq-63273418e7e48018bfb432f13caca9eeaee00679.tar.xz |
xen-netback: remove pointless clause from if statement
[ Upstream commit 0576eddf24df716d8570ef8ca11452a9f98eaab2 ]
This patch removes a test in start_new_rx_buffer() that checks whether
a copy operation is less than MAX_BUFFER_OFFSET in length, since
MAX_BUFFER_OFFSET is defined to be PAGE_SIZE and the only caller of
start_new_rx_buffer() already limits copy operations to PAGE_SIZE or less.
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Cc: Sander Eikelenboom <linux@eikelenboom.it>
Reported-By: Sander Eikelenboom <linux@eikelenboom.it>
Tested-By: Sander Eikelenboom <linux@eikelenboom.it>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'net/ipv4/ipip.c')
0 files changed, 0 insertions, 0 deletions