Wireshark-commits: [Wireshark-commits] master fac8f1f: pvfs2: clean up dissect_pvfs_distribution()
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 10 Jul 2016 16:43:25 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=fac8f1f1bd4b0cb41bcce5e9777376ad3c119f45
Submitter: Martin Kaiser (wireshark@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

fac8f1f by Martin Kaiser (wireshark@xxxxxxxxx):

    pvfs2: clean up dissect_pvfs_distribution()
    
    remove unnecessary variable initializers
    remove an unnecessary if (tree) check
    
    Change-Id: I4c5326c11efe4fe38fb606a45ca7674484e9421c
    Reviewed-on: https://code.wireshark.org/review/16371
    Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
    

Actions performed:

    from  4b83805   mp2t: use tvb_new_subset_remaining() instead of tvb_new_proxy()
    adds  fac8f1f   pvfs2: clean up dissect_pvfs_distribution()


Summary of changes:
 epan/dissectors/packet-pvfs2.c |   40 ++++++++++++++++++----------------------
 1 file changed, 18 insertions(+), 22 deletions(-)