commit | 635e442f4a48620d3d57e3b837e30375ddc35040 | [log] [tgz] |
---|---|---|
author | Lijun Pan <ljp@linux.ibm.com> | Wed Aug 19 17:52:26 2020 -0500 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 26 16:11:33 2020 -0700 |
tree | d3acde490d61ad838e87ae4911809f3e320e44a0 | |
parent | 550f4d46aff6fe57c9b1c6719c3c9de2237d7ac2 [diff] |
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: Lijun Pan <ljp@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>