From: Christoph Hellwig Date: Thu, 1 Jul 2021 14:22:20 +0000 (+0200) Subject: dasd: unexport dasd_set_target_state X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=299f2b5fc08be90aebcaa471b4d0f2bb94f2fbbf;p=kernel.git dasd: unexport dasd_set_target_state dasd_set_target_state is only used inside of dasd_mod.ko, so don't export it. Signed-off-by: Christoph Hellwig Signed-off-by: Stefan Haberland Link: https://lore.kernel.org/r/20210701142221.3408680-2-sth@linux.ibm.com Signed-off-by: Jens Axboe --- diff --git a/drivers/s390/block/dasd.c b/drivers/s390/block/dasd.c index c8df75e99f4c6..e34c6cc61983b 100644 --- a/drivers/s390/block/dasd.c +++ b/drivers/s390/block/dasd.c @@ -621,7 +621,6 @@ void dasd_set_target_state(struct dasd_device *device, int target) mutex_unlock(&device->state_mutex); dasd_put_device(device); } -EXPORT_SYMBOL(dasd_set_target_state); /* * Enable devices with device numbers in [from..to].