mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git
synced 2024-11-23 02:43:52 +08:00
Remove commented out code in usbreset.c and list.h and container_of.h
Gets rid of a CodeQL warning that it might be "confusing" to have commented out code in a file. Kids these days, surely they must use an editor that shows comments in different colors so that they notice this isn't really going to do anything... Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
79a0b233a3
commit
ddcab4c53b
@ -6,7 +6,6 @@
|
||||
#include <stddef.h>
|
||||
|
||||
#include "../config.h"
|
||||
//#include <ccan/check_type/check_type.h>
|
||||
#include "../check_type/check_type.h"
|
||||
|
||||
/**
|
||||
|
@ -1,14 +1,13 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// SPDX-FileCopyrightText: Rusty Russell <rusty@rustcorp.com.au>
|
||||
/* Licensed under BSD-MIT - see LICENSE file for details */
|
||||
|
||||
/* define CCAN_LIST_DEBUG to be 1 if you want to have some debugging in here */
|
||||
|
||||
#ifndef CCAN_LIST_H
|
||||
#define CCAN_LIST_H
|
||||
//#define CCAN_LIST_DEBUG 1
|
||||
#include <stdbool.h>
|
||||
#include <assert.h>
|
||||
//#include <ccan/str/str.h>
|
||||
//#include <ccan/container_of/container_of.h>
|
||||
//#include <ccan/check_type/check_type.h>
|
||||
#include "../str/str.h"
|
||||
#include "../container_of/container_of.h"
|
||||
#include "../check_type/check_type.h"
|
||||
|
@ -18,9 +18,6 @@
|
||||
|
||||
#include <linux/usbdevice_fs.h>
|
||||
|
||||
|
||||
/* static char *usbfs = NULL; */
|
||||
|
||||
struct usbentry {
|
||||
int bus_num;
|
||||
int dev_num;
|
||||
|
Loading…
Reference in New Issue
Block a user