stm class: Remove unnecessary pointer increment
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Fri, 4 Mar 2016 14:55:12 +0000 (16:55 +0200)
committerAlexander Shishkin <alexander.shishkin@linux.intel.com>
Fri, 8 Apr 2016 13:11:54 +0000 (16:11 +0300)
commitfb0801904bbbc7b109d4009520c7fa34bcfb7450
treef17e637a2f6129654f479c9c3bfb248377e22e59
parent389b6699a2aa0b457aa69986e9ddf39f3b4030fd
stm class: Remove unnecessary pointer increment

Readability: a postfix increment is used on a pointer which is not
used anywhere afterwards, which may send the reader looking through
the function one extra time. Drop the unnecessary increment.

Reported-by: Alan Cox <alan.cox@intel.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Reviewed-by: Laurent Fert <laurent.fert@intel.com>
drivers/hwtracing/stm/policy.c