diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-07-07 13:49:24 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-07-08 09:13:40 +0200 |
commit | ec03370e6d8a64ef01e9318229d7076048b0d23c (patch) | |
tree | ef39c5f20e12ac2e6ae11fd7b892aca0a95e6629 /fs/9p/acl.h | |
parent | 467fd0e82b6265b8e6cc078a70bd7592574d5c83 (diff) | |
download | linux-ec03370e6d8a64ef01e9318229d7076048b0d23c.tar.gz linux-ec03370e6d8a64ef01e9318229d7076048b0d23c.tar.bz2 linux-ec03370e6d8a64ef01e9318229d7076048b0d23c.zip |
ALSA: usb/line6: remove 'defined but not used' warning
Fix W=1 warning. Variables are declared in a header file included from
multiple C files, replace by #defines as suggested by Takashi
sound/usb/line6/driver.h:70:18: warning: ‘SYSEX_EXTRA_SIZE’ defined
but not used [-Wunused-const-variable=]
70 | static const int SYSEX_EXTRA_SIZE = sizeof(line6_midi_id) + 4;
| ^~~~~~~~~~~~~~~~
sound/usb/line6/driver.h:69:18: warning: ‘SYSEX_DATA_OFS’ defined but
not used [-Wunused-const-variable=]
69 | static const int SYSEX_DATA_OFS = sizeof(line6_midi_id) + 3;
| ^~~~~~~~~~~~~~
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200707184924.96291-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'fs/9p/acl.h')
0 files changed, 0 insertions, 0 deletions