linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Remove unused structures from source
@ 2020-01-30 10:11 Pragat Pandya
  2020-01-30 10:11 ` [PATCH 1/2] staging: exfat: Remove unused struct 'part_info_t' Pragat Pandya
  2020-01-30 10:11 ` [PATCH 2/2] staging: exfat: Remove unused struct 'dev_info_t' Pragat Pandya
  0 siblings, 2 replies; 3+ messages in thread
From: Pragat Pandya @ 2020-01-30 10:11 UTC (permalink / raw)
  To: valdis.kletnieks, gregkh
  Cc: devel, linux-kernel, skhan, linux-kernel-mentees, linux-fsdevel,
	Pragat Pandya

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(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] staging: exfat: Remove unused struct 'part_info_t'
  2020-01-30 10:11 [PATCH 0/2] Remove unused structures from source Pragat Pandya
@ 2020-01-30 10:11 ` Pragat Pandya
  2020-01-30 10:11 ` [PATCH 2/2] staging: exfat: Remove unused struct 'dev_info_t' Pragat Pandya
  1 sibling, 0 replies; 3+ messages in thread
From: Pragat Pandya @ 2020-01-30 10:11 UTC (permalink / raw)
  To: valdis.kletnieks, gregkh
  Cc: devel, linux-kernel, skhan, linux-kernel-mentees, linux-fsdevel,
	Pragat Pandya

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 <pragat.pandya@gmail.com>
---
 drivers/staging/exfat/exfat.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/staging/exfat/exfat.h b/drivers/staging/exfat/exfat.h
index 51c665a924b7..b29e2f5154ee 100644
--- a/drivers/staging/exfat/exfat.h
+++ b/drivers/staging/exfat/exfat.h
@@ -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 */
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] staging: exfat: Remove unused struct 'dev_info_t'
  2020-01-30 10:11 [PATCH 0/2] Remove unused structures from source Pragat Pandya
  2020-01-30 10:11 ` [PATCH 1/2] staging: exfat: Remove unused struct 'part_info_t' Pragat Pandya
@ 2020-01-30 10:11 ` Pragat Pandya
  1 sibling, 0 replies; 3+ messages in thread
From: Pragat Pandya @ 2020-01-30 10:11 UTC (permalink / raw)
  To: valdis.kletnieks, gregkh
  Cc: devel, linux-kernel, skhan, linux-kernel-mentees, linux-fsdevel,
	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.

Signed-off-by: Pragat Pandya <pragat.pandya@gmail.com>
---
 drivers/staging/exfat/exfat.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/staging/exfat/exfat.h b/drivers/staging/exfat/exfat.h
index b29e2f5154ee..1ae4ae4b3441 100644
--- a/drivers/staging/exfat/exfat.h
+++ b/drivers/staging/exfat/exfat.h
@@ -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;
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-30 10:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-30 10:11 [PATCH 0/2] Remove unused structures from source Pragat Pandya
2020-01-30 10:11 ` [PATCH 1/2] staging: exfat: Remove unused struct 'part_info_t' Pragat Pandya
2020-01-30 10:11 ` [PATCH 2/2] staging: exfat: Remove unused struct 'dev_info_t' Pragat Pandya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).