1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00
freebsd/sys/dev/fxp
Dimitry Andric 29658c96ce Remove duplicate const specifiers in many drivers (I hope I got all of
them, please let me know if not).  Most of these are of the form:

static const struct bzzt_type {
	[...list of members...]
} const bzzt_devs[] = {
	[...list of initializers...]
};

The second const is unnecessary, as arrays cannot be modified anyway,
and if the elements are const, the whole thing is const automatically
(e.g. it is placed in .rodata).

I have verified this does not change the binary output of a full kernel
build (except for build timestamps embedded in the object files).

Reviewed by:	yongari, marius
MFC after:	1 week
2012-11-05 19:16:27 +00:00
..
if_fxp.c Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
if_fxpreg.h Load entire EEPROM contents in device attach time and verify 2012-03-28 01:27:27 +00:00
if_fxpvar.h Load entire EEPROM contents in device attach time and verify 2012-03-28 01:27:27 +00:00
inphy.c - Follow the lead of dcphy(4) and pnphy(4) and move the reminder of the PHY 2011-10-08 12:33:10 +00:00
inphyreg.h - Follow the lead of dcphy(4) and pnphy(4) and move the reminder of the PHY 2011-10-08 12:33:10 +00:00
rcvbundl.h