Browse Source

coccinelle: fix typo in comment

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Philippe Mathieu-Daudé 8 years ago
parent
commit
f652402487
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/coccinelle/return_directly.cocci

+ 1 - 1
scripts/coccinelle/return_directly.cocci

@@ -1,4 +1,4 @@
-// replace 'R = X; return R;' with 'return R;'
+// replace 'R = X; return R;' with 'return X;'
 @@
 @@
 identifier VAR;
 identifier VAR;
 expression E;
 expression E;