diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-29 11:58:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-30 10:20:53 +0200 |
commit | ece42658c85df4c2d6c9b3ddb116003a2de4ecef (patch) | |
tree | e68f841c68c977820c03e35c51347dd9cfe328e7 /drivers | |
parent | 7aaabc37943f383ec8d8e51b7fc43ae60fac4206 (diff) | |
download | linux-stable-ece42658c85df4c2d6c9b3ddb116003a2de4ecef.tar.gz linux-stable-ece42658c85df4c2d6c9b3ddb116003a2de4ecef.tar.bz2 linux-stable-ece42658c85df4c2d6c9b3ddb116003a2de4ecef.zip |
staging: vt665X: remove unused CONFIG_PATH
The vt6655 and vt6656 drivers have an unused CONFIG_PATH define floating
around in the code, but it is never used. Remove it as drivers should
never be reading from config files anyway, even if these were valid
files.
Reported-by: Joe Perches <joe@perches.com>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20210729095812.1693061-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/vt6655/device_cfg.h | 3 | ||||
-rw-r--r-- | drivers/staging/vt6656/device.h | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/vt6655/device_cfg.h b/drivers/staging/vt6655/device_cfg.h index db0304f6e21c..2d647a3619ba 100644 --- a/drivers/staging/vt6655/device_cfg.h +++ b/drivers/staging/vt6655/device_cfg.h @@ -38,9 +38,6 @@ #include <linux/fs.h> #include <linux/fcntl.h> -#ifndef CONFIG_PATH -#define CONFIG_PATH "/etc/vntconfiguration.dat" -#endif #define PKT_BUF_SZ 2390 diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h index 947530fefe94..2c93a2e66c8a 100644 --- a/drivers/staging/vt6656/device.h +++ b/drivers/staging/vt6656/device.h @@ -77,8 +77,6 @@ #define FIRMWARE_NAME "vntwusb.fw" #define FIRMWARE_CHUNK_SIZE 0x400 -#define CONFIG_PATH "/etc/vntconfiguration.dat" - #define MAX_UINTS 8 #define OPTION_DEFAULT { [0 ... MAX_UINTS - 1] = -1} |