USB: serial: garmin_gps: don't compile unused packet definitions
authorJohan Hovold <johan@kernel.org>
Wed, 1 Jul 2020 16:53:38 +0000 (18:53 +0200)
committerJohan Hovold <johan@kernel.org>
Thu, 2 Jul 2020 08:38:30 +0000 (10:38 +0200)
commit00b22b61b78fbf159c6b9119e7e79f22b1583d19
tree70d3d50fa8361061bfb17122d7ccf5297fda9159
parent86f6da2951db571255ea0b1af7c6115ab870b757
USB: serial: garmin_gps: don't compile unused packet definitions

Don't compile the four unused packet definitions but keep them around
for documentation purposes.

This avoids the corresponding W=1 (-Wunused-const-variable) warning.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/garmin_gps.c