copy.c: remove a duplicate expression
authorOndřej Vašík <ovasik@redhat.com>
Wed, 8 Jul 2009 16:21:27 +0000 (17:21 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 8 Jul 2009 21:59:56 +0000 (22:59 +0100)
* src/copy.c (copy_attr_error): remove a redundant expression
added in commit e0cf592f, 2009-04-27, "factor out test for errno ...".

src/copy.c

index 511f705..4c8c432 100644 (file)
@@ -146,7 +146,6 @@ copy_attr_error (struct error_context *ctx ATTRIBUTE_UNUSED,
   va_list ap;
 
   if (!errno_unsupported (errno))
-  if (errno != ENOTSUP && errno != ENODATA)
     {
       /* use verror module to print error message */
       va_start (ap, fmt);