Bug 223189 - [PATCH] remove resource_set_* declarations from sys/sys/bus.h
Summary: [PATCH] remove resource_set_* declarations from sys/sys/bus.h
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Mark Johnston
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-10-23 14:56 UTC by marc.priggemeyer
Modified: 2017-10-31 15:03 UTC (History)
1 user (show)

See Also:


Attachments
Patch to remove resource_set_* declarations (693 bytes, patch)
2017-10-23 14:56 UTC, marc.priggemeyer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description marc.priggemeyer 2017-10-23 14:56:01 UTC
Created attachment 187395 [details]
Patch to remove resource_set_* declarations

In 2001 there was a commit providing a "Hints overhaul" removing implementations for the functions resource_set_{int, long, string} from sys/kern/subr_bus.c [1]

Declarations still reside in the header sys/sys/bus.h and should be removed. A patch is attached.

[1] https://github.com/freebsd/freebsd/commit/bbbe8875f0844bdf4e10cbc01dc9c7f2a2c8368a#diff-1717f3d7a6b94555398479c6c4531c10
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-10-23 16:03:06 UTC
A commit references this bug:

Author: markj
Date: Mon Oct 23 16:02:48 UTC 2017
New revision: 324923
URL: https://svnweb.freebsd.org/changeset/base/324923

Log:
  Remove resource_set_*() declarations from sys/bus.h.

  The corresponding definitions were removed in r78135.

  PR:		223189
  Submitted by:	marc.priggemeyer@gmail.com
  MFC after:	1 week

Changes:
  head/sys/sys/bus.h
Comment 2 Mark Johnston freebsd_committer freebsd_triage 2017-10-23 22:12:39 UTC
Keeping open for now until I merge the change to stable/11.
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-10-31 15:02:06 UTC
A commit references this bug:

Author: markj
Date: Tue Oct 31 15:01:52 UTC 2017
New revision: 325237
URL: https://svnweb.freebsd.org/changeset/base/325237

Log:
  MFC r324923:
  Remove resource_set_*() declarations from sys/bus.h.

  PR:	223189

Changes:
_U  stable/11/
  stable/11/sys/sys/bus.h