[Intel-gfx] [maintainer-tools PATCH 3/6] dim: clean up the rm's in dim checker

Jani Nikula jani.nikula at intel.com
Tue Oct 11 08:47:29 UTC 2016


The -f option does what the doctor orders.

Signed-off-by: Jani Nikula <jani.nikula at 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



More information about the Intel-gfx mailing list