bnx2x: Move printing of version from probe to the init
authorEilon Greenstein <eilong@broadcom.com>
Wed, 12 Aug 2009 08:23:37 +0000 (08:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Aug 2009 06:02:51 +0000 (23:02 -0700)
commit938cf5416d59769ec2e7ce4eb7967cb3b61242a3
treea708f216bca4fd8502c1dbb5a4a5650184ea6afb
parent37f9ce6231cafb2973e09f7f72ad62bc6348d1b3
bnx2x: Move printing of version from probe to the init

Move printing of version from probe to the init function
Rather then checking if this is the first module probe call to print
the version of the driver only once, the statement is moved to the init
function of the module where init is only called once

Signed-off-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_main.c