Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1689485

[PATCH 5/7] docs: Do not include from drivers/scsi/constants.c

From Jonathan Corbet <corbet@lwn.net>
Newsgroups linux.kernel
Subject [PATCH 5/7] docs: Do not include from drivers/scsi/constants.c
Date 2017-07-17 23:10 +0200
Message-ID <u4lrj-1Mq-113@gated-at.bofh.it> (permalink)
References <u4lrc-1Mq-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The only function of interest in that file was scsi_print_status().  That
function was removed in commit 7ac7076344d9 (scsi: remove
scsi_print_status()) but the docs were not changed to match, yielding this
warning:

    ./drivers/scsi/constants.c:1: warning: no structured comments found

There's nothing there anymore, so just remove that section from the docs.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
---
 Documentation/driver-api/scsi.rst | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/Documentation/driver-api/scsi.rst b/Documentation/driver-api/scsi.rst
index 859fb672319f..5a2aa7a377d9 100644
--- a/Documentation/driver-api/scsi.rst
+++ b/Documentation/driver-api/scsi.rst
@@ -224,14 +224,6 @@ mid to lowlevel SCSI driver interface
 .. kernel-doc:: drivers/scsi/hosts.c
    :export:
 
-drivers/scsi/constants.c
-~~~~~~~~~~~~~~~~~~~~~~~~
-
-mid to lowlevel SCSI driver interface
-
-.. kernel-doc:: drivers/scsi/constants.c
-   :export:
-
 Transport classes
 -----------------
 
-- 
2.9.4

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH 0/7] Documentation warning reduction Jonathan Corbet <corbet@lwn.net> - 2017-07-17 23:10 +0200
  [PATCH 5/7] docs: Do not include from drivers/scsi/constants.c Jonathan Corbet <corbet@lwn.net> - 2017-07-17 23:10 +0200

csiph-web