summaryrefslogtreecommitdiffstats
path: root/sys/dev/tdfx
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/tdfx')
-rw-r--r--sys/dev/tdfx/tdfx_pci.c8
1 files changed, 2 insertions, 6 deletions
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
OpenPOWER on IntegriCloud