freebsd-skq/sys/dev/gem
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_gem_pci.c Remove duplicate const specifiers in many drivers (I hope I got all of 2012-11-05 19:16:27 +00:00
if_gem_sbus.c - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
if_gem.c Revert r224157, re-enabling r222135. The underlying problem keeping the 2011-08-19 19:13:31 +00:00
if_gemreg.h According to the OpenSolaris source the PCI latency and the cache line size 2011-07-12 08:20:15 +00:00
if_gemvar.h - In gem_reset_rx() also reset the RX MAC which is necessary in order to 2011-06-28 16:16:43 +00:00