[<prev] [next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1202262340390.6089@swampdragon.chaosbits.net>
Date: Sun, 26 Feb 2012 23:42:36 +0100 (CET)
From: Jesper Juhl <jj@...osbits.net>
To: Alan Cox <alan@...ux.intel.com>
cc: trivial@...nel.org, David Airlie <airlied@...ux.ie>,
Greg Kroah-Hartman <gregkh@...e.de>,
Dave Airlie <airlied@...hat.com>,
Octavian Purdila <octavian.purdila@...el.com>,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
Benjamin Defnet <benjamin.r.defnet@...el.com>,
Rajesh Poornachandran <rajesh.poornachandran@...el.com>
Subject: [PATCH][trivial] gma500: remove redundant ';' and redundant 'else'
from drivers/gpu/drm/gma500/power.c
Signed-off-by: Jesper Juhl <jj@...osbits.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@...osbits.net> http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists