[PATCH 1/2] staging: exfat: Remove unused struct 'part_info_t'

2020-01-30 Thread 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 --- drivers/staging/exfat/exfat.h | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/exfat/exfat.h

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

2020-01-30 Thread 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 --- drivers/staging/exfat/exfat.h | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/exfat/exfat.h

[PATCH 0/2] Remove unused structures from source

2020-01-30 Thread 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'

Re: [PATCH v2] staging: exfat: remove 'vol_type' variable.

2020-01-30 Thread Dan Carpenter
On Thu, Jan 30, 2020 at 04:06:13PM +0900, Tetsuhiro Kohada wrote: > remove 'vol_type' variable. > > The following issues are described in exfat's TODO. > > clean up the remaining vol_type checks, which are of two types: > > some are ?: operators with magic numbers, and the rest are places > >