Commit db9fc50
usb: dwc3: gadget: remove redundant variable maxpacket
Variable maxpacket is being assigned but is never used hence it is
redundant and can be removed.
Cleans up clang warning:
warning: variable 'maxpacket' set but not used [-Wunused-but-set-variable]
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent ec81419 commit db9fc50
1 file changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
973 | 973 | | |
974 | 974 | | |
975 | 975 | | |
976 | | - | |
977 | 976 | | |
978 | 977 | | |
979 | 978 | | |
980 | 979 | | |
981 | 980 | | |
982 | 981 | | |
983 | | - | |
984 | | - | |
985 | 982 | | |
986 | 983 | | |
987 | 984 | | |
| |||
0 commit comments