Cleanup of dvb frontend driver header files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there!

While having a look at lnbp21.h I have seen it includes <linux/dvb/frontend.h> 
without needing it. (There are only pointers referring to struct 
dvb_frontend).

So I had a look at the whole directory.
# cd linux/drivers/media/dvb/frontends
# grep -l linux/dvb/frontend.h *.h|wc -l
47

So 47 header files include this header and seem not to need it.
At least removing this line still allows me to compile the full set of v4l-dvb 
drivers.
# sed -e '/linux\/dvb\/frontend/s-^-// -' -i *.h

Some of these files use more headers the same way like dvb_frontend.h, 
firmware.h or i2c.h

Is this kind of cleanup appreciated, or should the includes be kept even if 
they are not really needed for pointers to structs like dvb_frontend.

Regards
Matthias
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux