Message ID | 1346947757-10481-8-git-send-email-peter.senna@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 09/06/2012 04:09 PM, Peter Senna Tschudin wrote: > From: Peter Senna Tschudin <peter.senna@gmail.com> > > removes unnecessary semicolon > > Found by Coccinelle: http://coccinelle.lip6.fr/ > > Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com> Applied. Thanks, Florian Tobias Schandinat > > --- > drivers/video/sis/initextlfb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -u -p a/drivers/video/sis/initextlfb.c b/drivers/video/sis/initextlfb.c > --- a/drivers/video/sis/initextlfb.c > +++ b/drivers/video/sis/initextlfb.c > @@ -65,7 +65,7 @@ sisfb_mode_rate_to_dclock(struct SiS_Pri > } > #endif > > - if(!(SiS_SearchModeID(SiS_Pr, &ModeNo, &ModeIdIndex))) {; > + if(!(SiS_SearchModeID(SiS_Pr, &ModeNo, &ModeIdIndex))) { > printk(KERN_ERR "Could not find mode %x\n", ModeNo); > return 65000; > } > > -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff -u -p a/drivers/video/sis/initextlfb.c b/drivers/video/sis/initextlfb.c --- a/drivers/video/sis/initextlfb.c +++ b/drivers/video/sis/initextlfb.c @@ -65,7 +65,7 @@ sisfb_mode_rate_to_dclock(struct SiS_Pri } #endif - if(!(SiS_SearchModeID(SiS_Pr, &ModeNo, &ModeIdIndex))) {; + if(!(SiS_SearchModeID(SiS_Pr, &ModeNo, &ModeIdIndex))) { printk(KERN_ERR "Could not find mode %x\n", ModeNo); return 65000; }