[lkml]   [2019]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 8/8] x86/platform/uv: Account for UV Hubless in is_uvX_hub Ops
On Mon, Sep 02, 2019 at 07:18:23PM -0500, Mike Travis wrote:

All these ifdefs are dead code, please just remove them.

Also it seems like at least the various mmr macros just check
for a specific version, I think you are much better off just
using a switch statement for the possible revisions there.

> + return (uv_hub_info->hub_revision == UV4A_HUB_REVISION_BASE);

And none of these braces are required.

 \ /
  Last update: 2019-09-03 18:20    [W:0.109 / U:13.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site