]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ALSA: portman2x4: remove unused portman_read_command,data functions
authorTom Rix <trix@redhat.com>
Sat, 18 Mar 2023 13:52:29 +0000 (09:52 -0400)
committerTakashi Iwai <tiwai@suse.de>
Sun, 19 Mar 2023 08:10:51 +0000 (09:10 +0100)
commit6aa9b1d071bf62e7489601f57a13da55b1a96add
tree813c02187f31faec1c13ea794660c6f4fc6a8f04
parent0b40261256a71184c6bca487b91e6b748b077709
ALSA: portman2x4: remove unused portman_read_command,data functions

clang with W=1 reports
sound/drivers/portman2x4.c:185:18: error: unused function
  'portman_read_command' [-Werror,-Wunused-function]
static inline u8 portman_read_command(struct portman *pm)
                 ^
sound/drivers/portman2x4.c:195:18: error: unused function
  'portman_read_data' [-Werror,-Wunused-function]
static inline u8 portman_read_data(struct portman *pm)
                 ^
These static functions are not used, so remove them.

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20230318135229.1685266-1-trix@redhat.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/portman2x4.c