Skip to content
Commit 635e442f authored by Lijun Pan's avatar Lijun Pan Committed by David S. Miller
Browse files

ibmvnic: merge ibmvnic_reset_init and ibmvnic_init



These two functions share the majority of the code, hence merge
them together. In the meanwhile, add a reset pass-in parameter
to differentiate them. Thus, the code is easier to read and to tell
the difference between reset_init and regular init.

Signed-off-by: default avatarLijun Pan <ljp@linux.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 550f4d46
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment