diff options
author | Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> | 2015-01-13 14:09:27 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-01-22 10:38:51 -0500 |
commit | 0554309e1938a72b2917691d3681c0e0e48311d9 (patch) | |
tree | c99af6a212d93c573c97f7061e05c2d0fd49c687 /drivers | |
parent | de5670c2204f3456102568f164d568a9c487af7c (diff) |
drm/radeon/radeon_i2c: Remove unused function
Remove the function radeon_best_encoder() that is not used anywhere.
This was partially found by using a static code analysis program called cppcheck.
Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_i2c.c | 5 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_mode.h | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_i2c.c b/drivers/gpu/drm/radeon/radeon_i2c.c index add622008407..9590bcd321c0 100644 --- a/drivers/gpu/drm/radeon/radeon_i2c.c +++ b/drivers/gpu/drm/radeon/radeon_i2c.c | |||
@@ -1048,11 +1048,6 @@ struct radeon_i2c_chan *radeon_i2c_lookup(struct radeon_device *rdev, | |||
1048 | return NULL; | 1048 | return NULL; |
1049 | } | 1049 | } |
1050 | 1050 | ||
1051 | struct drm_encoder *radeon_best_encoder(struct drm_connector *connector) | ||
1052 | { | ||
1053 | return NULL; | ||
1054 | } | ||
1055 | |||
1056 | void radeon_i2c_get_byte(struct radeon_i2c_chan *i2c_bus, | 1051 | void radeon_i2c_get_byte(struct radeon_i2c_chan *i2c_bus, |
1057 | u8 slave_addr, | 1052 | u8 slave_addr, |
1058 | u8 addr, | 1053 | u8 addr, |
diff --git a/drivers/gpu/drm/radeon/radeon_mode.h b/drivers/gpu/drm/radeon/radeon_mode.h index 390db897f322..403e733f3002 100644 --- a/drivers/gpu/drm/radeon/radeon_mode.h +++ b/drivers/gpu/drm/radeon/radeon_mode.h | |||
@@ -745,8 +745,6 @@ extern void radeon_router_select_ddc_port(struct radeon_connector *radeon_connec | |||
745 | extern void radeon_router_select_cd_port(struct radeon_connector *radeon_connector); | 745 | extern void radeon_router_select_cd_port(struct radeon_connector *radeon_connector); |
746 | extern bool radeon_ddc_probe(struct radeon_connector *radeon_connector, bool use_aux); | 746 | extern bool radeon_ddc_probe(struct radeon_connector *radeon_connector, bool use_aux); |
747 | 747 | ||
748 | extern struct drm_encoder *radeon_best_encoder(struct drm_connector *connector); | ||
749 | |||
750 | extern bool radeon_atombios_get_ppll_ss_info(struct radeon_device *rdev, | 748 | extern bool radeon_atombios_get_ppll_ss_info(struct radeon_device *rdev, |
751 | struct radeon_atom_ss *ss, | 749 | struct radeon_atom_ss *ss, |
752 | int id); | 750 | int id); |