part: Drop duplication declaration of block_dev_desc_t
authorSimon Glass <sjg@chromium.org>
Thu, 21 Jan 2016 03:12:07 +0000 (20:12 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 25 Jan 2016 15:39:46 +0000 (10:39 -0500)
This is already defined in ide.h, which part.h includes. So we don't need
the duplicate typedef. At least with my old blackfin gcc 4.3.5 tool chain,
this causes an error.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Andreas Bießmann <andreas.devel@googlemail.com>
include/part.h

index 4d00e220e4c8867c6312044c05a497ec77aaf262..dc23949ae8c079ddf05f9e50b6ab51f5bcd7b52a 100644 (file)
@@ -10,8 +10,6 @@
 #include <ide.h>
 #include <common.h>
 
-typedef struct block_dev_desc block_dev_desc_t;
-
 struct block_dev_desc {
        int             if_type;        /* type of the interface */
        int             dev;            /* device number */