diff options
author | Dave Penkler <dpenkler@gmail.com> | 2025-01-18 15:50:46 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-19 09:06:31 +0100 |
commit | 579b6f18c5ca162af040f44684cc55f7da182236 (patch) | |
tree | 39fdabff5eec3fa21e99689cef0adc0558762616 /arch/x86 | |
parent | 6a6c153537f093c3bc79ea9633f3954d3450d0ba (diff) |
staging: gpib: Agilent usb code cleanup
Remove useless #ifdef RESET_USB_CONFIG code.
Change kalloc / memset to kzalloc
The attach function was not freeing the private data on error
returns. Separate the releasing of urbs and private data and
add a common error exit for attach failure.
Set the board private data pointer to NULL after freeing
the private data.
Reduce console spam by emitting only one attach message.
Change last pr_err in attach to dev_err
Signed-off-by: Dave Penkler <dpenkler@gmail.com>
Link: https://lore.kernel.org/r/20250118145046.12181-3-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions