diff options
| author | Coiby Xu <coiby.xu@gmail.com> | 2021-01-23 18:46:08 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-29 16:54:20 +0100 |
| commit | b9ccc256d46554b4d3a0c08b7ecbee985ff0f256 (patch) | |
| tree | 467cd47b296402f0164f205b76ab8bb9750c91d8 /lib | |
| parent | 953b94009377419f28fd0153f91fcd5b5a347608 (diff) | |
staging: qlge: re-write qlge_init_device
Stop calling ql_release_all in qlge_init_device and free things one step
at a time.
struct qlge_adapter *qdev is now a private structure of struct devlink
and memset is not necessary.
Link: https://lore.kernel.org/patchwork/patch/1321092/#1516928
Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
Link: https://lore.kernel.org/r/20210123104613.38359-4-coiby.xu@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
