staging: r8188eu: remove unneeded variable in rtw_p2p_get_device_name
authorAbdun Nihaal <abdun.nihaal@gmail.com>
Sat, 29 Jan 2022 16:27:59 +0000 (21:57 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Jan 2022 13:02:47 +0000 (14:02 +0100)
commita944d44a14ce4445ce155c5d51e96d539394ad63
tree383cff3c7dc4a47230b7d8a620b364b0655c3a33
parent6ae1d6e3803b251afc980b1fe51482c3b54c7d5e
staging: r8188eu: remove unneeded variable in rtw_p2p_get_device_name

Remove unneeded return variable that is initialized to 0 and not
assigned after.

Found using Coccinelle

Signed-off-by: Abdun Nihaal <abdun.nihaal@gmail.com>
Link: https://lore.kernel.org/r/d94c3029128b9c094bf4e0b2e4574a177aef46e9.1643466748.git.abdun.nihaal@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/os_dep/ioctl_linux.c