helper: In expr_to_str() remove extra parenthesis around variables
commitd41dbd01c7025fa608642ea60eb0d7bedeeea05c
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 20 Jan 2017 12:25:33 +0000 (20 15:25 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 20 Jan 2017 12:25:33 +0000 (20 15:25 +0300)
treed84e7f5bd9be597234bafcbb236036a92d7bd9c7
parent719ed98a970a1745fb6ee5e436133f236e03f396
helper: In expr_to_str() remove extra parenthesis around variables

Just remove the parenthesis if you have an expression like "(var)" they
have no meaning because we can't possibly split a variable.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_helper.c