]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
igb: Drop BUILD_BUG_ON check from igb_build_rx_buffer
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 21 Feb 2013 03:08:50 +0000 (03:08 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 5 Mar 2013 09:08:45 +0000 (01:08 -0800)
commite4f7dbb17e797d922d72567f37de3735722034ba
treeb6ee475fefa5452ce23aa8fb783694f4f777a934
parente08f626b33eb636dbf38b21618ab32b7fd8e1ec4
igb: Drop BUILD_BUG_ON check from igb_build_rx_buffer

On s390 the igb driver was throwing a build error due to the fact that a frame
built using build_skb would be larger than 2K.  Since this is not likely to
change at any point in the future we are better off just dropping the check
since we already had a check in igb_set_rx_buffer_len that will just disable
the usage of build_skb anyway.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c