Skip to content
Snippets Groups Projects
Commit 4ae6a856 authored by Andrew Cooks's avatar Andrew Cooks
Browse files

add cleanup step to remove unused DBG1 macro

parent cb4f2271
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,12 @@ sed -i 's|/\*\s*.*=.*->.*;.*\*/||g' *.c *.h ...@@ -56,6 +56,12 @@ sed -i 's|/\*\s*.*=.*->.*;.*\*/||g' *.c *.h
sed -i 's|\(.*g_ftrace.*\)||g' *.{c,h} sed -i 's|\(.*g_ftrace.*\)||g' *.{c,h}
# remove unused DBG1 macro
sed -i 's|\(#define DBG1.*\)||g' tn40.h
# confirm that it really is unsused and gone
! grep -Iq DBG1 *.{c,h} || echo 'unexpected DBG1 macro remaining.' && false
# Insert new cleanup steps above this comment. # Insert new cleanup steps above this comment.
# Keep Lindent as the last step. # Keep Lindent as the last step.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment