From bfb151084c0ed694c488771a4c5c4c1f89e4e201 Mon Sep 17 00:00:00 2001 From: sam Date: Tue, 22 Feb 2005 18:57:18 +0000 Subject: remove dead code (inside a DEBUG ifdef) Submitted by: Coverity Prevent analysis tool --- sys/dev/tdfx/tdfx_pci.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'sys/dev/tdfx') diff --git a/sys/dev/tdfx/tdfx_pci.c b/sys/dev/tdfx/tdfx_pci.c index 351411a..7ad6282 100644 --- a/sys/dev/tdfx/tdfx_pci.c +++ b/sys/dev/tdfx/tdfx_pci.c @@ -384,12 +384,8 @@ tdfx_setmtrr(device_t dev) { * If, for some reason, we can't set the MTRR (N/A?) we may still continue */ #ifdef DEBUG - if(retval == 0) { - device_printf(dev, "MTRR Set Type Uncacheable %x\n", - (u_int32_t)tdfx_info->mrdesc.mr_base); - } else { - device_printf(dev, "Couldn't Set MTRR\n"); - } + device_printf(dev, "MTRR Set Type Uncacheable %x\n", + (u_int32_t)tdfx_info->mrdesc.mr_base); #endif } #ifdef DEBUG -- cgit v1.1