提交 393c525b 编写于 作者: M Michael S. Tsirkin

virtio_blk: make serial attribute static

It's never declared so no need to make it extern.
Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
Reviewed-by: NCornelia Huck <cornelia.huck@de.ibm.com>


上级 af9ca13b
...@@ -332,7 +332,8 @@ static ssize_t virtblk_serial_show(struct device *dev, ...@@ -332,7 +332,8 @@ static ssize_t virtblk_serial_show(struct device *dev,
return err; return err;
} }
DEVICE_ATTR(serial, S_IRUGO, virtblk_serial_show, NULL);
static DEVICE_ATTR(serial, S_IRUGO, virtblk_serial_show, NULL);
static void virtblk_config_changed_work(struct work_struct *work) static void virtblk_config_changed_work(struct work_struct *work)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册