]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r288112,r302571: remove unused and redundant declarations and code
authoravg <avg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 3 Mar 2017 12:03:50 +0000 (12:03 +0000)
committeravg <avg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 3 Mar 2017 12:03:50 +0000 (12:03 +0000)
commit5e2a473f385206e4114371aa77362bd701296cf6
treebf3290e31616f9cc824bafb1f5f3e23a14f6a150
parentebadebd877ac85dfae0026a65434e0c5dfef5dde
MFC r288112,r302571: remove unused and redundant declarations and code

r288112 Hide an unused in FreeBSD function behind #ifdef linux to get rid of
the compile time warning.

r302571 Remove redundant declaration for radeon_pm_acpi_event_handler(..) to fix
-Wredundant-decls warning

This allows the code to be compiled with the base gcc.

git-svn-id: svn://svn.freebsd.org/base/stable/10@314593 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/drm2/drm_lock.c
sys/dev/drm2/radeon/radeon_acpi.c