Skip to contentSkip to conversation

PATCH: virtual_printk.patch

PATCH Jon Smirl 2 participants 2 messages Jun 23, 2005 Framebuffer layer

lore
Share & tools
lore

Jon Smirl

author
#0 lore raw

Patch to remove unneeded fbsysfs printk.

--
Jon Smirl
[email protected]

#Remove unneeded fbsysfs printk
#Signed-off-by: Jon Smirl <[email protected]>

drivers/video/fbsysfs.c +0 -2
@@ -228,8 +228,6 @@ static ssize_t store_virtual(struct clas
 	if (last - buf >= count)
 		return -EINVAL;
 	var.yres_virtual = simple_strtoul(last, &last, 0);
-	printk(KERN_ERR "fb: xres %d yres %d\n", var.xres_virtual,
-	       var.yres_virtual);
 
 	if ((err = activate(fb_info, &var)))
 		return err;

}

static ssize_t store_cmap(struct class_device *class_device, const char * buf,

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click

#1 lore raw

Please apply.

Quoted 12 lines · Jon Smirl

Patch to remove unneeded fbsysfs printk.

--
Jon Smirl
[email protected]

#Remove unneeded fbsysfs printk
#Signed-off-by: Jon Smirl <[email protected]>

drivers/video/fbsysfs.c static ssize_t store_virtual(struct clas · line 231

Quoted 4 lines
drivers/video/fbsysfs.c +0 -1
@@ -228,8 +228,6 @@ static ssize_t store_virtual(struct clas
 	if (last - buf >= count)
 		return -EINVAL;
 	var.yres_virtual = simple_strtoul(last, &last, 0);
-	printk(KERN_ERR "fb: xres %d yres %d\n"

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click