The -f option does what the doctor orders.

Signed-off-by: Jani Nikula <jani.nik...@intel.com>
---
 dim | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dim b/dim
index 79245550b6b2..76da7e347a6e 100755
--- a/dim
+++ b/dim
@@ -730,8 +730,7 @@ function dim_checkpatch
 
 function dim_checker
 {
-       rm drivers/gpu/drm/i915/*.o &> /dev/null || true
-       rm drivers/gpu/drm/i915/*.ko &> /dev/null || true
+       rm -f drivers/gpu/drm/i915/*.o drivers/gpu/drm/i915/*.ko
        make C=1 drivers/gpu/drm/i915/i915.ko
 }
 
-- 
2.1.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to