From: Antti Palosaari Date: Fri, 6 Apr 2012 22:05:11 +0000 (-0300) Subject: [media] af9035: remove unused struct X-Git-Tag: firefly_0821_release~3680^2~275^2~2288 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=52560b72845a4ff21d3ad1dd509b13d9c0b46585;p=firefly-linux-kernel-4.4.55.git [media] af9035: remove unused struct Not used anymore since new firmware downloader. I forget to remove those earlier when changed firmware downloader. Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/dvb-usb/af9035.h b/drivers/media/dvb/dvb-usb/af9035.h index 031bd9cf0cb2..eece4ed8c99e 100644 --- a/drivers/media/dvb/dvb-usb/af9035.h +++ b/drivers/media/dvb/dvb-usb/af9035.h @@ -52,20 +52,6 @@ struct config { bool hw_not_supported; }; -struct fw_segment { -#define SEGMENT_FW_DL 0 -#define SEGMENT_ROM_COPY 1 -#define SEGMENT_DIRECT_CMD 2 - u8 type; - u32 len; -}; - -struct fw_header { -#define SEGMENT_MAX_COUNT 6 - u8 segment_count; - struct fw_segment segment[SEGMENT_MAX_COUNT]; -}; - u32 clock_lut[] = { 20480000, /* FPGA */ 16384000, /* 16.38 MHz */