* removing check not needed Signed-off-by: Aristeu Sergio Rozanski Filho Index: net/x25/af_x25.c =================================================================== --- net/x25/af_x25.c (revision 75) +++ net/x25/af_x25.c (revision 76) @@ -973,10 +973,8 @@ } case SIOCGSTAMP: - rc = -EINVAL; - if (sk) - rc = sock_get_timestamp(sk, - (struct timeval __user *)argp); + rc = sock_get_timestamp(sk, + (struct timeval __user *)argp); break; case SIOCGIFADDR: case SIOCSIFADDR: