From: Paul Durrant Date: Fri, 28 Mar 2014 11:39:05 +0000 (+0000) Subject: xen-netback: remove pointless clause from if statement X-Git-Tag: v3.15-rc1~113^2~17^2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0576eddf24df716d8570ef8ca11452a9f98eaab2;p=pandora-kernel.git xen-netback: remove pointless clause from if statement 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 Cc: Ian Campbell Cc: Wei Liu Cc: Sander Eikelenboom Reported-By: Sander Eikelenboom Tested-By: Sander Eikelenboom Signed-off-by: David S. Miller --- Reading git-diff-tree failed