OSDN Git Service

be2net: move interface create code to a separate routine
authorKalesh AP <kalesh.purayil@emulex.com>
Tue, 20 Jan 2015 08:51:43 +0000 (03:51 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jan 2015 01:22:42 +0000 (17:22 -0800)
commit0700d8161ec9d3809238c703ad8d37c02e658c15
tree51704e65eec0b665bf29c59f7ac9a9e6113f464e
parent5ec274250d55a3fb27caf994e891f86a9529a2cb
be2net: move interface create code to a separate routine

This removes a bit of duplication of code that initializes the en_flags.
Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c