net/bnx2x: do not return structs
authorChas Williams <3chas3@gmail.com>
Tue, 11 Oct 2016 23:05:00 +0000 (19:05 -0400)
committerBruce Richardson <bruce.richardson@intel.com>
Thu, 13 Oct 2016 13:30:59 +0000 (15:30 +0200)
commit039d21312931f7f7eed420db69fddc5e267d7cb1
tree3c754ffb9e9bebcb22b55a338856b18f52c47f76
parentcb7410790eb1f0811a2469d06d49587cfcafbd85
net/bnx2x: do not return structs

bnx2x_loop_obtain_resources() returns a struct.  This routine either
succeeds or fails -- We don't need a struct for that.

Fixes: 540a211084a7 ("bnx2x: driver core")

Signed-off-by: Chas Williams <3chas3@gmail.com>
Acked-by: Harish Patil <harish.patil@qlogic.com>
drivers/net/bnx2x/bnx2x_vfpf.c