libibumad: use common error definitions exported from libibverbs
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 11 Mar 2009 22:13:33 +0000 (22:13 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 11 Mar 2009 22:13:33 +0000 (22:13 +0000)
verbs.h defines error definitions typically defined in errno.h on linux systems.  Remove duplicate definitions from libibumad.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2026 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/libibumad/include/infiniband/umad.h

index 032a349..ecbe67e 100644 (file)
@@ -49,13 +49,6 @@ typedef unsigned __int16     uint16_t;
 typedef unsigned __int32       uint32_t;\r
 typedef unsigned __int64       uint64_t;\r
 \r
-#define EIO                    5\r
-#define EWOULDBLOCK    11\r
-#define ENOMEM         12\r
-#define EINVAL         22\r
-#define ENOSPC         28\r
-#define ETIMEDOUT      110\r
-\r
 #define UMAD_MAX_DEVICES       20\r
 #define UMAD_ANY_PORT          0\r
 \r