diff options
| author | macallan <macallan@NetBSD.org> | 2010-05-04 19:16:22 +0000 |
|---|---|---|
| committer | macallan <macallan@NetBSD.org> | 2010-05-04 19:16:22 +0000 |
| commit | 38ea31842559d0a6d2b3a9dde2cb37d9ea1b6329 (patch) | |
| tree | f912a45149d8092cda356902e950820ead20965a /sys/dev | |
| parent | fa836933a2c068d0b509c9fca7a34a20c8b4c063 (diff) | |
remove now redundant ri = ... lines in putchar() methods
Looks like none of my usual test builds used rasops2.c
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/rasops/rasops2.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/dev/rasops/rasops2.c b/sys/dev/rasops/rasops2.c index a8018dcb0e2..98ef7e041b9 100644 --- a/sys/dev/rasops/rasops2.c +++ b/sys/dev/rasops/rasops2.c @@ -1,4 +1,4 @@ -/* $NetBSD: rasops2.c,v 1.16 2010/05/04 12:36:37 nonaka Exp $ */ +/* $NetBSD: rasops2.c,v 1.17 2010/05/04 19:16:22 macallan Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rasops2.c,v 1.16 2010/05/04 12:36:37 nonaka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rasops2.c,v 1.17 2010/05/04 19:16:22 macallan Exp $"); #include "opt_rasops.h" @@ -107,8 +107,6 @@ rasops2_putchar(void *cookie, int row, int col, u_int uc, long attr) int32_t *rp; u_char *fr; - ri = (struct rasops_info *)cookie; - #ifdef RASOPS_CLIPPING /* Catches 'row < 0' case too */ if ((unsigned)row >= (unsigned)ri->ri_rows) @@ -256,8 +254,6 @@ rasops2_putchar8(void *cookie, int row, int col, u_int uc, long attr) return; } - ri = (struct rasops_info *)cookie; - #ifdef RASOPS_CLIPPING /* Catches 'row < 0' case too */ if ((unsigned)row >= (unsigned)ri->ri_rows) { @@ -323,8 +319,6 @@ rasops2_putchar12(void *cookie, int row, int col, u_int uc, long attr) return; } - ri = (struct rasops_info *)cookie; - #ifdef RASOPS_CLIPPING /* Catches 'row < 0' case too */ if ((unsigned)row >= (unsigned)ri->ri_rows) { @@ -393,8 +387,6 @@ rasops2_putchar16(void *cookie, int row, int col, u_int uc, long attr) return; } - ri = (struct rasops_info *)cookie; - #ifdef RASOPS_CLIPPING /* Catches 'row < 0' case too */ if ((unsigned)row >= (unsigned)ri->ri_rows) { |
