aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.h
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2014-04-24 03:16:05 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-25 16:02:01 -0700
commit84fcb4b3a3716662ee2f7e0c8270241c71baeb97 (patch)
treeb1233e1c094079971e12b124fabcb3b0d9e7a49c /drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.h
parentstaging: rtl8192e: Fix typo in rtl8192e (diff)
downloadlinux-dev-84fcb4b3a3716662ee2f7e0c8270241c71baeb97.tar.xz
linux-dev-84fcb4b3a3716662ee2f7e0c8270241c71baeb97.zip
Staging: rtl8192e: Remove built-in firmware images
The driver can already use request_firmware() to load firmware, and always does so. There is code in init_firmware() to use the static firmware images, but it's unreachable! Remove the data and simplify init_firmware() accordingly. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.h')
-rw-r--r--drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.h b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.h
index 06d6abc8345c..94fa16b4993d 100644
--- a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.h
+++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.h
@@ -43,11 +43,6 @@ enum desc_packet_type {
DESC_PACKET_TYPE_NORMAL = 1,
};
-enum firmware_source {
- FW_SOURCE_IMG_FILE = 0,
- FW_SOURCE_HEADER_FILE = 1,
-};
-
enum firmware_status {
FW_STATUS_0_INIT = 0,
FW_STATUS_1_MOVE_BOOT_CODE = 1,