]> www.infradead.org Git - users/jedix/linux-maple.git/commit
be2net: remove duplicate code in be_setup_wol()
authorKalesh Purayil <kalesh.purayil@avagotech.com>
Fri, 10 Jul 2015 09:32:43 +0000 (05:32 -0400)
committerManjunath Govindashetty <manjunath.govindashetty@oracle.com>
Fri, 16 Oct 2015 00:07:54 +0000 (17:07 -0700)
commit99c99efd3edec12a9d5f14c3e1e943c9e8122002
tree83356b6c9906025fcaa20909a9b70b51ae89d513
parentb73a5ff48659ccc874197d238e37e52e0d40068a
be2net: remove duplicate code in be_setup_wol()

This change will make be_setup_wol() routine more compact and readable
by removing some duplicate code.

Signed-off-by: Kalesh AP <kalesh.purayil@avagotech.com>
Signed-off-by: Sathya Perla <sathya.perla@avagotech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c