linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 3/3] sis_main.c - vfree() checking cleanups
@ 2005-01-10 19:42 domen
  0 siblings, 0 replies; only message in thread
From: domen @ 2005-01-10 19:42 UTC (permalink / raw)
  To: adaplas; +Cc: linux-fbdev-devel, domen, jlamanna



sis_main.c vfree() checking cleanups.

Signed-off by: James Lamanna <jlamanna@gmail.com>


Signed-off-by: Domen Puncer <domen@coderock.org>
---


 kj-domen/drivers/video/sis/sis_main.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/video/sis/sis_main.c~vfree-drivers_video_sis_sis_main drivers/video/sis/sis_main.c
--- kj/drivers/video/sis/sis_main.c~vfree-drivers_video_sis_sis_main	2005-01-10 18:01:05.000000000 +0100
+++ kj-domen/drivers/video/sis/sis_main.c	2005-01-10 18:01:05.000000000 +0100
@@ -5674,7 +5674,7 @@ static void __devexit sisfb_remove(struc
 	/* Unmap */
 	iounmap(ivideo->video_vbase);
 	iounmap(ivideo->mmio_vbase);
-	if(ivideo->bios_abase) vfree(ivideo->bios_abase);
+	vfree(ivideo->bios_abase);
 
 	/* Release mem regions */
 	release_mem_region(ivideo->video_base, ivideo->video_size);
_


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-10 19:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-10 19:42 [patch 3/3] sis_main.c - vfree() checking cleanups domen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).