projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ROSE]: Remove useless prototype for rose_remove_neigh().
[powerpc.git]
/
drivers
/
video
/
fbcvt.c
diff --git
a/drivers/video/fbcvt.c
b/drivers/video/fbcvt.c
index
0b6af00
..
ac90883
100644
(file)
--- a/
drivers/video/fbcvt.c
+++ b/
drivers/video/fbcvt.c
@@
-214,12
+214,11
@@
static void fb_cvt_print_name(struct fb_cvt_data *cvt)
{
u32 pixcount, pixcount_mod;
int cnt = 255, offset = 0, read = 0;
{
u32 pixcount, pixcount_mod;
int cnt = 255, offset = 0, read = 0;
- u8 *buf = k
m
alloc(256, GFP_KERNEL);
+ u8 *buf = k
z
alloc(256, GFP_KERNEL);
if (!buf)
return;
if (!buf)
return;
- memset(buf, 0, 256);
pixcount = (cvt->xres * (cvt->yres/cvt->interlace))/1000000;
pixcount_mod = (cvt->xres * (cvt->yres/cvt->interlace)) % 1000000;
pixcount_mod /= 1000;
pixcount = (cvt->xres * (cvt->yres/cvt->interlace))/1000000;
pixcount_mod = (cvt->xres * (cvt->yres/cvt->interlace)) % 1000000;
pixcount_mod /= 1000;