diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-01-17 14:02:09 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-03-04 12:30:55 -0500 |
commit | 9cf5370e3150f853cd9fa5a2537d6eb69acd703b (patch) | |
tree | be9173e61aa75edeafe8c85f440609ad60c34719 /drivers/media/dvb-frontends/drx39xyj/drx_driver.h | |
parent | 2f1f733386ce6dac70c0936b81b9f630ddfb1837 (diff) |
[media] drx-j: remove the useless microcode_size
This var is not used. Remove it from the code, as we'll now be
converting the driver to load the firmware from an external
file.
Acked-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/drx39xyj/drx_driver.h')
-rw-r--r-- | drivers/media/dvb-frontends/drx39xyj/drx_driver.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/dvb-frontends/drx39xyj/drx_driver.h b/drivers/media/dvb-frontends/drx39xyj/drx_driver.h index c36321b9dd72..f5add1a72dd6 100644 --- a/drivers/media/dvb-frontends/drx39xyj/drx_driver.h +++ b/drivers/media/dvb-frontends/drx39xyj/drx_driver.h | |||
@@ -1021,8 +1021,6 @@ STRUCTS | |||
1021 | struct drxu_code_info { | 1021 | struct drxu_code_info { |
1022 | u8 *mc_data; | 1022 | u8 *mc_data; |
1023 | /**< Pointer to microcode image. */ | 1023 | /**< Pointer to microcode image. */ |
1024 | u16 mc_size; | ||
1025 | /**< Microcode image size. */ | ||
1026 | }; | 1024 | }; |
1027 | 1025 | ||
1028 | /** | 1026 | /** |
@@ -1932,7 +1930,6 @@ struct drx_reg_dump { | |||
1932 | struct drx_common_attr { | 1930 | struct drx_common_attr { |
1933 | /* Microcode (firmware) attributes */ | 1931 | /* Microcode (firmware) attributes */ |
1934 | u8 *microcode; /**< Pointer to microcode image. */ | 1932 | u8 *microcode; /**< Pointer to microcode image. */ |
1935 | u16 microcode_size; | ||
1936 | /**< Size of microcode image in bytes. */ | 1933 | /**< Size of microcode image in bytes. */ |
1937 | bool verify_microcode; | 1934 | bool verify_microcode; |
1938 | /**< Use microcode verify or not. */ | 1935 | /**< Use microcode verify or not. */ |
@@ -2351,7 +2348,6 @@ Access macros | |||
2351 | #define DRX_ATTR_CACHESTANDARD(d) ((d)->my_common_attr->di_cache_standard) | 2348 | #define DRX_ATTR_CACHESTANDARD(d) ((d)->my_common_attr->di_cache_standard) |
2352 | #define DRX_ATTR_CURRENTCHANNEL(d) ((d)->my_common_attr->current_channel) | 2349 | #define DRX_ATTR_CURRENTCHANNEL(d) ((d)->my_common_attr->current_channel) |
2353 | #define DRX_ATTR_MICROCODE(d) ((d)->my_common_attr->microcode) | 2350 | #define DRX_ATTR_MICROCODE(d) ((d)->my_common_attr->microcode) |
2354 | #define DRX_ATTR_MICROCODESIZE(d) ((d)->my_common_attr->microcode_size) | ||
2355 | #define DRX_ATTR_VERIFYMICROCODE(d) ((d)->my_common_attr->verify_microcode) | 2351 | #define DRX_ATTR_VERIFYMICROCODE(d) ((d)->my_common_attr->verify_microcode) |
2356 | #define DRX_ATTR_CAPABILITIES(d) ((d)->my_common_attr->capabilities) | 2352 | #define DRX_ATTR_CAPABILITIES(d) ((d)->my_common_attr->capabilities) |
2357 | #define DRX_ATTR_PRODUCTID(d) ((d)->my_common_attr->product_id) | 2353 | #define DRX_ATTR_PRODUCTID(d) ((d)->my_common_attr->product_id) |