mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
video: fbdev: aty: Delete unused variable in radeon_monitor
Fix warning about variable that is asssigned a value but never used. The variable was indeed never used so delete it. Keep the call to radeon_probe_i2c_connector() as it may have side-effects. It is unlikely but I could not verify that is was safe to drop the call. Signed-off-by: Sam Ravnborg <[email protected]> Acked-by: Thomas Zimmermann <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: [email protected] Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
This commit is contained in:
1 parent
c67e62790f
commit
288b23719c
1 file changed
+1
-3
@@ -488,12 +488,10 @@ void radeon_probe_screens(struct radeonfb_info *rinfo,
|
||||
#if defined(DEBUG) && defined(CONFIG_FB_RADEON_I2C)
|
||||
{
|
||||
u8 *EDIDs[4] = { NULL, NULL, NULL, NULL };
|
||||
int mon_types[4] = {MT_NONE, MT_NONE, MT_NONE, MT_NONE};
|
||||
int i;
|
||||
|
||||
for (i = 0; i < 4; i++)
|
||||
mon_types[i] = radeon_probe_i2c_connector(rinfo,
|
||||
i+1, &EDIDs[i]);
|
||||
radeon_probe_i2c_connector(rinfo, i + 1, &EDIDs[i]);
|
||||
}
|
||||
#endif /* DEBUG */
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user