treewide: remove redundant #include <linux/kconfig.h>
[cascardo/linux.git] / drivers / char / virtio_console.c
index 5da47e2..d433b1d 100644 (file)
@@ -38,7 +38,6 @@
 #include <linux/workqueue.h>
 #include <linux/module.h>
 #include <linux/dma-mapping.h>
-#include <linux/kconfig.h>
 #include "../tty/hvc/hvc_console.h"
 
 #define is_rproc_enabled IS_ENABLED(CONFIG_REMOTEPROC)
@@ -889,7 +888,7 @@ static int pipe_to_sg(struct pipe_inode_info *pipe, struct pipe_buffer *buf,
                return 0;
 
        /* Try lock this page */
-       if (buf->ops->steal(pipe, buf) == 0) {
+       if (pipe_buf_steal(pipe, buf) == 0) {
                /* Get reference and unlock page for moving */
                get_page(buf->page);
                unlock_page(buf->page);