usb: gadget: f_uac2: remove redundant assignments to pointer i_feature
authorColin Ian King <colin.king@canonical.com>
Wed, 4 Aug 2021 12:59:07 +0000 (13:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Aug 2021 10:31:41 +0000 (12:31 +0200)
commit59e477af7b1a2a0d1d4c934f9cfda7b753341f12
treec44c35bed4e147286edbc1d9d5f0db96ccbe9a18
parente21dd90eb86488fb2689c766311eb6fce98b2eb7
usb: gadget: f_uac2: remove redundant assignments to pointer i_feature

Pointer i_feature is being initialized with a value and then immediately
re-assigned a new value in the next statement. Fix this by replacing the
the redundant initialization with the following assigned value.

Acked-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Addresses-Coverity: ("Unused value")
Link: https://lore.kernel.org/r/20210804125907.111654-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/f_uac2.c