core.c: moving 'revents' reset

'revents' nullification was moved to the beginning
of 'if' statement for consistency purposes.

Signed-off-by: Ilya Nelkenbaum <ilyan@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>
ssa.c: removing whitespaces

Signed-off-by: Ilya Nelkenbaum <ilyan@mellanox.com>