Skip to contentSkip to conversation

Remove unused structures from source

PATCH New Pragat Pandya 1 participant 3 messages Jan 30, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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
#1 lore raw

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.

---
 drivers/staging/exfat/exfat.h | 5 -----
 1 file changed, 5 deletions(-)
drivers/staging/exfat/exfat.h +0 -5
index 51c665a924b7..b29e2f5154ee 100644
@@ -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
#2 lore raw

PATCH 2/2 staging: exfat: Remove unused struct 'dev_info_t'

In reply to Pragat Pandya

Remove global declaration of unused struct "dev_info_t". Structure "dev_info_t" is defined in exfat.h and not referenced in any other file.

---
 drivers/staging/exfat/exfat.h | 5 -----
 1 file changed, 5 deletions(-)
drivers/staging/exfat/exfat.h +0 -5
index b29e2f5154ee..1ae4ae4b3441 100644
@@ -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