[PATCH][trivial] gma500: remove redundant ';' and redundant 'else' from drivers/gpu/drm/gma500/power.c
Jesper Juhl
jj at chaosbits.net
Sun Feb 26 14:42:36 PST 2012
Signed-off-by: Jesper Juhl <jj at chaosbits.net>
---
drivers/gpu/drm/gma500/power.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/gma500/power.c b/drivers/gpu/drm/gma500/power.c
index 9402569..6486f61 100644
--- a/drivers/gpu/drm/gma500/power.c
+++ b/drivers/gpu/drm/gma500/power.c
@@ -302,7 +302,7 @@ int psb_runtime_suspend(struct device *dev)
int psb_runtime_resume(struct device *dev)
{
- return gma_power_resume(dev);;
+ return gma_power_resume(dev);
}
int psb_runtime_idle(struct device *dev)
@@ -311,6 +311,5 @@ int psb_runtime_idle(struct device *dev)
struct drm_psb_private *dev_priv = drmdev->dev_private;
if (dev_priv->display_count)
return 0;
- else
- return 1;
+ return 1;
}
--
1.7.9.2
--
Jesper Juhl <jj at chaosbits.net> http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.
More information about the dri-devel
mailing list