Date: Wed, 3 Sep 2014 09:58:59 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r271013 - head/sys/dev/drm Message-ID: <201409030958.s839wxNG032979@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409030958.s839wxNG032979>