)]}'
{
  "commit": "7ba5c003db59a6f738d87d92b68d4a91cdf22f60",
  "tree": "26ab3d17d37851252621eeef0ea7d332dfd0ed9a",
  "parents": [
    "5712bf9c5c30ade3204016147d7b04bece6952d9"
  ],
  "author": {
    "name": "Gavin Shan",
    "email": "gwshan@linux.vnet.ibm.com",
    "time": "Thu Oct 20 11:45:49 2016 +1100"
  },
  "committer": {
    "name": "David S. Miller",
    "email": "davem@davemloft.net",
    "time": "Thu Oct 20 11:23:07 2016 -0400"
  },
  "message": "net/ncsi: Avoid if statements in ncsi_suspend_channel()\n\nThere are several if/else statements in the state machine implemented\nby switch/case in ncsi_suspend_channel() to avoid duplicated code. It\nmakes the code a bit hard to be understood.\n\nThis drops if/else statements in ncsi_suspend_channel() to improve the\ncode readability as Joel Stanley suggested. Also, it becomes easy to\nadd more states in the state machine without affecting current code.\nNo logical changes introduced by this.\n\nSuggested-by: Joel Stanley \u003cjoel@jms.id.au\u003e\nSigned-off-by: Gavin Shan \u003cgwshan@linux.vnet.ibm.com\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5e509e547c2ddf1867639e01541eb37b1348d663",
      "old_mode": 33188,
      "old_path": "net/ncsi/ncsi-manage.c",
      "new_id": "655d0d6539268c6859fefdaf900745412524e87a",
      "new_mode": 33188,
      "new_path": "net/ncsi/ncsi-manage.c"
    }
  ]
}
