Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository

Switch branch/tag
  • xcap-capability-linux
  • drivers
  • scsi
  • fcoe
  • libfcoe.c
Find file BlameHistoryPermalink
  • Robert Love's avatar
    [SCSI] libfc, fcoe: Remove unnecessary cast by removing inline wrapper · fc47ff6b
    Robert Love authored Feb 27, 2009
    
    
    Comment from "Andrew Morton <akpm@linux-foundation.org>"
    
    > +{
    > +     return (struct fcoe_softc *)lport_priv(lp);
    
    unneeded/undesirable cast of void*.  There are probably zillions of
    instances of this - there always are.
    
    This whole inline function was unnecessary. The FCoE layer knows
    that it's data structure is stored in the lport private data, it
    can just access it from lport_priv().
    Signed-off-by: default avatarRobert Love <robert.w.love@intel.com>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
    fc47ff6b

Replace libfcoe.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.