diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-31 23:17:50 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-31 23:17:50 -0700 |
commit | 996fdaed696c989fdafe12dc18e90639dfc96f87 (patch) | |
tree | 92a977d4bf29591826ed699ef5a17c17bd999eae /src/ast_tool.c | |
parent | 15b22ad50df0dff78a2db9fb4c536ab7faf92f07 (diff) |
Cleanup leading/trailing whitespace in source files
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/ast_tool.c')
-rw-r--r-- | src/ast_tool.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/ast_tool.c b/src/ast_tool.c index c2bfac6..7f1362e 100644 --- a/src/ast_tool.c +++ b/src/ast_tool.c @@ -19,7 +19,7 @@ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. */ - + #ifdef HAVE_CONFIG_H #include <config.h> #endif @@ -75,12 +75,12 @@ ASTMapMem(ScrnInfoPtr pScrn) PCI_DEV_MAP_FLAG_WRITABLE | PCI_DEV_MAP_FLAG_WRITE_COMBINE, result); - - if (err) + + if (err) return FALSE; } #endif - + if (!pAST->FBVirtualAddr) return FALSE; @@ -92,15 +92,15 @@ ASTUnmapMem(ScrnInfoPtr pScrn) { ASTRecPtr pAST = ASTPTR(pScrn); -#ifndef XSERVER_LIBPCIACCESS +#ifndef XSERVER_LIBPCIACCESS xf86UnMapVidMem(pScrn->scrnIndex, (pointer) pAST->FBVirtualAddr, pAST->FbMapSize); #else pci_device_unmap_range(pAST->PciInfo, pAST->FBVirtualAddr, pAST->FbMapSize); #endif - + pAST->FBVirtualAddr = 0; - + return TRUE; } @@ -130,8 +130,8 @@ ASTMapMMIO(ScrnInfoPtr pScrn) pAST->MMIOMapSize, PCI_DEV_MAP_FLAG_WRITABLE, result); - - if (err) + + if (err) return FALSE; } @@ -154,7 +154,7 @@ ASTUnmapMMIO(ScrnInfoPtr pScrn) pci_device_unmap_range(pAST->PciInfo, pAST->MMIOVirtualAddr, pAST->MMIOMapSize); #endif pAST->MMIOVirtualAddr = 0; - + } |