Messages in this thread | | | Date | Tue, 26 May 2015 11:02:08 +0200 | From | Bart Van Assche <> | Subject | Re: [PATCH target] target: se_dev_check_wce() can be static |
| |
On 05/26/15 10:13, kbuild test robot wrote: > > Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> > --- > target_core_device.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/target/target_core_device.c b/drivers/target/target_core_device.c > index 2321884..1d309ad 100644 > --- a/drivers/target/target_core_device.c > +++ b/drivers/target/target_core_device.c > @@ -649,7 +649,7 @@ static u32 se_dev_align_max_sectors(u32 max_sectors, u32 block_size) > return aligned_max_sectors; > } > > -bool se_dev_check_wce(struct se_device *dev) > +static bool se_dev_check_wce(struct se_device *dev) > { > bool wce = false; >
Since patch "target: fix DPO and FUA bit checks" removed the last user of this function, please remove this function completely instead of declaring it static.
Thanks,
Bart.
| |