Skip to content

Commit 63b1dd0

Browse files
Amerigo Wangpmundt
authored andcommitted
video: fix some comments in drivers/video/console/vgacon.c
Now vgacon_scrollback_startup() uses slab, not bootmem, the comment above it is obsolete, so does __init_refok. Signed-off-by: WANG Cong <amwang@redhat.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
1 parent 5dc1365 commit 63b1dd0

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎drivers/video/console/vgacon.c‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -202,11 +202,7 @@ static void vgacon_scrollback_init(int pitch)
202202
}
203203
}
204204

205-
/*
206-
* Called only duing init so call of alloc_bootmen is ok.
207-
* Marked __init_refok to silence modpost.
208-
*/
209-
static void __init_refok vgacon_scrollback_startup(void)
205+
static void vgacon_scrollback_startup(void)
210206
{
211207
vgacon_scrollback = kcalloc(CONFIG_VGACON_SOFT_SCROLLBACK_SIZE, 1024, GFP_NOWAIT);
212208
vgacon_scrollback_init(vga_video_num_columns * 2);

0 commit comments

Comments
 (0)