summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2009-09-12 21:52:26 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2009-09-12 21:52:26 +0000
commit39fb0eed813403d7fb5fa79bb5a653df8c317f88 (patch)
tree737bd2738439fc9b35336a042a2d4fd759167ef0
parent213513e37724f408e88187a601bb11d89e4ffb95 (diff)
Don't use function pointers at places where we always call the same
function.
-rw-r--r--sys/dev/usb/udl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/udl.c b/sys/dev/usb/udl.c
index 13c43b9c98f..9f893441d18 100644
--- a/sys/dev/usb/udl.c
+++ b/sys/dev/usb/udl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udl.c,v 1.36 2009/09/12 12:27:09 mglocker Exp $ */
+/* $OpenBSD: udl.c,v 1.37 2009/09/12 21:52:25 mglocker Exp $ */
/*
* Copyright (c) 2009 Marcus Glocker <mglocker@openbsd.org>
@@ -1834,7 +1834,7 @@ udl_fb_line_write_comp(struct udl_softc *sc, uint16_t rgb16, uint32_t x,
else
block = width;
- r = (sc->udl_fb_off_write)(sc, rgb16, off, block);
+ r = udl_fb_off_write_comp(sc, rgb16, off, block);
if (r != 0)
return (r);