Remove unused structures from source
cover Remove unused structures from source
This patchset removes following two unused structures from the source as they are not referenced in any other file(s).
-structure "part_info_t"
-structure "dev_info_t"
Pragat Pandya (2):
staging: exfat: Remove unused struct 'part_info_t'
staging: exfat: Remove unused struct 'dev_info_t'
drivers/staging/exfat/exfat.h | 10 ---------- 1 file changed, 10 deletions(-)
Signature · 1 line
2.17.1
PATCH 1/2 staging: exfat: Remove unused struct 'part_info_t'
Remove global declaration of unused struct "part_info_t". Structure "part_info_t" is defined in exfat.h and not referenced in any other file.
Signed-off-by Pragat Pandya <[email protected]>
--- drivers/staging/exfat/exfat.h | 5 ----- 1 file changed, 5 deletions(-)
drivers/staging/exfat/exfat.h +0 -5
@@ -231,11 +231,6 @@ struct date_time_t {u16 MilliSecond; }; -struct part_info_t { -u32 Offset;/* start sector number of the partition */ -u32 Size;/* in sectors */ -}; -struct dev_info_t {u32 SecSize;/* sector size in bytes */ u32 DevSize;/* block device size in sectors */
Signature · 1 line
2.17.1
PATCH 2/2 staging: exfat: Remove unused struct 'dev_info_t'
In reply to Pragat PandyaRemove global declaration of unused struct "dev_info_t". Structure "dev_info_t" is defined in exfat.h and not referenced in any other file.
Signed-off-by Pragat Pandya <[email protected]>
--- drivers/staging/exfat/exfat.h | 5 ----- 1 file changed, 5 deletions(-)
drivers/staging/exfat/exfat.h +0 -5
@@ -231,11 +231,6 @@ struct date_time_t {u16 MilliSecond; }; -struct dev_info_t { -u32 SecSize;/* sector size in bytes */ -u32 DevSize;/* block device size in sectors */ -}; -struct vol_info_t {u32 FatType;u32 ClusterSize;
Signature · 1 line
2.17.1