summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/drx39xyj/drx_driver.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-17 23:02:09 +0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-04 21:30:55 +0400
commit9cf5370e3150f853cd9fa5a2537d6eb69acd703b (patch)
treebe9173e61aa75edeafe8c85f440609ad60c34719 /drivers/media/dvb-frontends/drx39xyj/drx_driver.h
parent2f1f733386ce6dac70c0936b81b9f630ddfb1837 (diff)
downloadlinux-9cf5370e3150f853cd9fa5a2537d6eb69acd703b.tar.xz
[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.h4
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
struct drxu_code_info {
u8 *mc_data;
/**< Pointer to microcode image. */
- u16 mc_size;
- /**< Microcode image size. */
};
/**
@@ -1932,7 +1930,6 @@ struct drx_reg_dump {
struct drx_common_attr {
/* Microcode (firmware) attributes */
u8 *microcode; /**< Pointer to microcode image. */
- u16 microcode_size;
/**< Size of microcode image in bytes. */
bool verify_microcode;
/**< Use microcode verify or not. */
@@ -2351,7 +2348,6 @@ Access macros
#define DRX_ATTR_CACHESTANDARD(d) ((d)->my_common_attr->di_cache_standard)
#define DRX_ATTR_CURRENTCHANNEL(d) ((d)->my_common_attr->current_channel)
#define DRX_ATTR_MICROCODE(d) ((d)->my_common_attr->microcode)
-#define DRX_ATTR_MICROCODESIZE(d) ((d)->my_common_attr->microcode_size)
#define DRX_ATTR_VERIFYMICROCODE(d) ((d)->my_common_attr->verify_microcode)
#define DRX_ATTR_CAPABILITIES(d) ((d)->my_common_attr->capabilities)
#define DRX_ATTR_PRODUCTID(d) ((d)->my_common_attr->product_id)