Author: glebius
Date: Wed Sep  3 09:58:59 2014
New Revision: 271013
URL: http://svnweb.freebsd.org/changeset/base/271013

Log:
  Remove always false comparison.
  
  Sponsored by: Nginx, Inc.

Modified:
  head/sys/dev/drm/drm_sysctl.c

Modified: head/sys/dev/drm/drm_sysctl.c
==============================================================================
--- head/sys/dev/drm/drm_sysctl.c       Wed Sep  3 09:35:38 2014        
(r271012)
+++ head/sys/dev/drm/drm_sysctl.c       Wed Sep  3 09:58:59 2014        
(r271013)
@@ -193,7 +193,7 @@ static int drm_vm_info DRM_SYSCTL_HANDLE
        for (i = 0; i < mapcount; i++) {
                map = &tempmaps[i];
 
-               if (map->type < 0 || map->type > 4)
+               if (map->type > 4)
                        type = "??";
                else
                        type = types[map->type];
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to