The patch titled #if 0 drivers/usb/input/hid-core.c:hid_find_field_by_usage() has been added to the -mm tree. Its filename is if-0-drivers-usb-input-hid-corechid_find_field_by_usage.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: #if 0 drivers/usb/input/hid-core.c:hid_find_field_by_usage() From: Adrian Bunk <bunk@xxxxxxxxx> #if 0 the no longer used hid_find_field_by_usage(). Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/usb/input/hid-core.c | 3 ++- drivers/usb/input/hid.h | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/usb/input/hid-core.c~if-0-drivers-usb-input-hid-corechid_find_field_by_usage drivers/usb/input/hid-core.c --- a/drivers/usb/input/hid-core.c~if-0-drivers-usb-input-hid-corechid_find_field_by_usage +++ a/drivers/usb/input/hid-core.c @@ -1108,7 +1108,7 @@ int hid_set_field(struct hid_field *fiel /* * Find a report field with a specified HID usage. */ - +#if 0 struct hid_field *hid_find_field_by_usage(struct hid_device *hid, __u32 wanted_usage, int type) { struct hid_report *report; @@ -1120,6 +1120,7 @@ struct hid_field *hid_find_field_by_usag return report->field[i]; return NULL; } +#endif /* 0 */ static int hid_submit_out(struct hid_device *hid) { diff -puN drivers/usb/input/hid.h~if-0-drivers-usb-input-hid-corechid_find_field_by_usage drivers/usb/input/hid.h --- a/drivers/usb/input/hid.h~if-0-drivers-usb-input-hid-corechid_find_field_by_usage +++ a/drivers/usb/input/hid.h @@ -519,7 +519,6 @@ void hid_close(struct hid_device *); int hid_set_field(struct hid_field *, unsigned, __s32); void hid_submit_report(struct hid_device *, struct hid_report *, unsigned char dir); void hid_init_reports(struct hid_device *hid); -struct hid_field *hid_find_field_by_usage(struct hid_device *hid, __u32 wanted_usage, int type); int hid_wait_io(struct hid_device* hid); _ Patches currently in -mm which might be from bunk@xxxxxxxxx are origin.patch git-acpi.patch acpiphp-use-new-dock-driver.patch drivers-acpi-scanc-make-acpi_bus_type-static.patch git-dvb.patch drivers-media-video-vivic-make-2-functions-static.patch git-gfs2.patch make-drivers-scsi-pata_pcmciacpcmcia_remove_one-static.patch ni5010-netcard-cleanup-fix.patch git-ocfs2.patch gregkh-pci-acpiphp-configure-_prt-v3-cleanup.patch drivers-scsi-aic7xxx-possible-cleanups.patch drivers-scsi-small-cleanups.patch drivers-scsi-megaraidc-add-a-dummy-mega_create_proc_entry-for-proc_fs=y.patch drivers-scsi-qla2xxx-make-some-functions-static.patch drivers-scsi-qla2xxx-make-more-some-functions-static.patch drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_done_with_status-static.patch drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_match_scb-static.patch drivers-scsi-aic7xxx-possible-cleanups-2.patch usb-new-driver-for-cypress-cy7c63xxx-mirco-controllers-fix.patch if-0-drivers-usb-input-hid-corechid_find_field_by_usage.patch swsusp-rework-memory-shrinker-rev-2.patch acx1xx-wireless-driver.patch arch-i386-kernel-apicc-make-modern_apic-static.patch kernel-power-snapshotc-cleanups.patch x86_64-unexport-ia32_sys_call_table.patch fs-locksc-make-posix_locks_deadlock-static.patch remove-config_parport_arc-drivers-parport-parport_arcc.patch fs-fat-miscc-unexport-fat_sync_bhs.patch the-scheduled-unexport-of-insert_resource.patch fs-bufferc-possible-cleanups.patch drivers-md-raid6algosc-fix-a-null-dereference.patch drivers-char-applicomc-proper-module_initexit.patch kernel-sysc-cleanups.patch kernel-sysc-cleanups-fix.patch chardev-gpio-for-scx200-pc-8736x-replace-spinlocks-fix.patch time-i386-clocksource-drivers.patch drivers-ide-legacy-ide-csc-make-2-functions-static.patch fbdev-cleanup-the-config_video_select-mess.patch fbdev-remove-duplicate-includes.patch fbdev-remove-unused-exports.patch md-make-md_print_devices-static.patch drivers-md-mdc-make-code-static.patch slab-cache-shrinker-statistics.patch i386-enable-4k-stacks-by-default.patch mutex-subsystem-synchro-test-module.patch drivers-char-ipmi-ipmi_msghandlerc-make-proc_ipmi_root-static.patch drivers-message-i2o-iopc-unexport-i2o_msg_nop.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html