diff options
| author | Markus Elfring <elfring@users.sourceforge.net> | 2025-10-20 15:46:11 +0200 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2025-10-23 11:17:28 +0200 |
| commit | e0665df8c501829f09e6a2a7c06b9860209d3a70 (patch) | |
| tree | ae802ad829b7f971d9e9d188c3f639e058968cba /rust/kernel/alloc/allocator | |
| parent | d550d63d0082268a31e93a10c64cbc2476b98b24 (diff) | |
net: ti: icssg-prueth: Omit a variable reassignment in prueth_netdev_init()
An error code was assigned to a variable and checked accordingly.
This value was passed to a dev_err_probe() call in an if branch.
This function is documented in the way that the same value is returned.
Thus delete two redundant variable reassignments.
The source code was transformed by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Link: https://patch.msgid.link/71f7daa3-d4f4-4753-aae8-67040fc8297d@web.de
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions
