staging: rts5208: remove unused xd_check_err_code function
authorTom Rix <trix@redhat.com>
Tue, 21 Mar 2023 19:01:27 +0000 (15:01 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 09:18:27 +0000 (10:18 +0100)
commit7045b31e1b8f6a3ebd3023d69834666e48a2eb9c
tree7d30039d5fb51f1fc90b53e360774eade31310f9
parent288dee556536f07f51df4b0d265c83be73991fb1
staging: rts5208: remove unused xd_check_err_code function

clang with W=1 reports
drivers/staging/rts5208/xd.c:34:19: error: unused function
  'xd_check_err_code' [-Werror,-Wunused-function]
static inline int xd_check_err_code(struct rtsx_chip *chip, u8 err_code)
                  ^
This function is not used, so remove it.

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20230321190127.1827703-1-trix@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/xd.c