diff options
author | Antti Palosaari <crope@iki.fi> | 2014-12-21 18:33:14 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-02-03 16:24:49 -0200 |
commit | c56222a6b25c24f211ecefd6ecc1003a7cb075d4 (patch) | |
tree | 981f01c3f076f2330fa31a08cbc46eb270c85ce6 /drivers/media/usb/dvb-usb-v2/rtl28xxu.h | |
parent | 5ba4ca1a14c3cf62064c7edc30f05c40dd7ecee2 (diff) | |
download | lwn-c56222a6b25c24f211ecefd6ecc1003a7cb075d4.tar.gz lwn-c56222a6b25c24f211ecefd6ecc1003a7cb075d4.zip |
[media] rtl28xxu: move usb buffers to state
Buffer needed for USB control message is small so move it to state
and get rid of alloc/free used for each control message.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/rtl28xxu.h')
-rw-r--r-- | drivers/media/usb/dvb-usb-v2/rtl28xxu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.h b/drivers/media/usb/dvb-usb-v2/rtl28xxu.h index abf0111a3fda..1b5d7ffb685e 100644 --- a/drivers/media/usb/dvb-usb-v2/rtl28xxu.h +++ b/drivers/media/usb/dvb-usb-v2/rtl28xxu.h @@ -69,6 +69,7 @@ struct rtl28xxu_dev { + u8 buf[28]; u8 chip_id; u8 tuner; char *tuner_name; |