diff --git a/sm5/atacmds.c b/sm5/atacmds.c
index bc575d9174edbbe826ef52b7f62878071c755f85..84d2bdcfc475618bbad58cceb0594f14046e2261 100644
--- a/sm5/atacmds.c
+++ b/sm5/atacmds.c
@@ -1,4 +1,4 @@
-//  $Id: atacmds.c,v 1.6 2002/10/15 08:58:40 ballen4705 Exp $
+//  $Id: atacmds.c,v 1.7 2002/10/15 11:19:46 ballen4705 Exp $
 /*
  * atacmds.c
  *
@@ -373,10 +373,8 @@ int ataDisableAutoOffline (int device )
 int ataSmartStatus (int device ){	
    unsigned char parms[4] = { WIN_SMART, 0, SMART_STATUS, 0};
 
-   if (ioctl ( device , HDIO_DRIVE_CMD,  &parms) != 0)
-   {
+   if (ioctl ( device , HDIO_DRIVE_CMD,  &parms))
       return -1;
-   }
    return 0;
 }
 
diff --git a/sm5/atacmds.cpp b/sm5/atacmds.cpp
index 8ab7821931d0b79dfbe2fed20991b547373799a0..48c4110fec5c7634b185ccef0725ed7381a871ce 100644
--- a/sm5/atacmds.cpp
+++ b/sm5/atacmds.cpp
@@ -1,4 +1,4 @@
-//  $Id: atacmds.cpp,v 1.6 2002/10/15 08:58:40 ballen4705 Exp $
+//  $Id: atacmds.cpp,v 1.7 2002/10/15 11:19:46 ballen4705 Exp $
 /*
  * atacmds.c
  *
@@ -373,10 +373,8 @@ int ataDisableAutoOffline (int device )
 int ataSmartStatus (int device ){	
    unsigned char parms[4] = { WIN_SMART, 0, SMART_STATUS, 0};
 
-   if (ioctl ( device , HDIO_DRIVE_CMD,  &parms) != 0)
-   {
+   if (ioctl ( device , HDIO_DRIVE_CMD,  &parms))
       return -1;
-   }
    return 0;
 }